package projects.ufam.nodes.messages;

import java.util.ArrayList;

import projects.ufam.nodes.nodeImplementations.A3Node;
import sinalgo.nodes.messages.Message;

public class A3ChildRecognitionMessage extends Message {
	ArrayList<A3Node> candidates = new ArrayList<A3Node>();

	public A3ChildRecognitionMessage(ArrayList<A3Node> candidates) {
		this.candidates.addAll(candidates);
	}

	@Override
	public Message clone() {
		A3ChildRecognitionMessage msg = new A3ChildRecognitionMessage(
				candidates);
		return msg;
	}

	@Override
	public int getMessageSize() {
		// TODO Auto-generated method stub
		return 0;
	}

	public ArrayList<A3Node> getCandidates() {
		return candidates;
	}

	public void setCandidates(ArrayList<A3Node> candidates) {
		this.candidates = candidates;
	}

}